package com.zwb.wallet.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;
import java.util.concurrent.atomic.AtomicInteger;

/**
 * @author 头发又黑又长
 * @Date 2023/2/28 20:37
 * @email zwb15083976291@163.com
 */
@Data
@EqualsAndHashCode
@TableName("t_wallet_details")
public class WalletDetails {

    /*主键*/
    private Integer id;
    /*用户ID*/
    private Integer userId;
    /*类型名称*/
    private String typeName;
    /*类型字段可选值：1:消费,2:充值，3:退款*/
    private Integer type;
    /*操作是否成功*/
    private Integer status;
    /*详情:其他需要和当前操作产生管理的订单id号码*/
    private String orderId;
    /*操作之前金额*/
    private BigDecimal befAmountMoney;
    /*操作之后金额*/
    private BigDecimal altAmountMoney;
    /*创建时间*/
    private Date createTime;

}
